projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c94066
)
Grub2: use /etc/system-release now that we have one
author
Giovanni Campagna
<gcampagna@src.gnome.org>
Fri, 14 Sep 2012 21:57:20 +0000
(23:57 +0200)
committer
Giovanni Campagna
<gcampagna@src.gnome.org>
Sun, 16 Sep 2012 22:25:30 +0000
(
00:25
+0200)
This matches the upstream code more, and avoids the GNOME OS trademark
in ostree, which is otherwise platform agnostic.
https://bugzilla.gnome.org/show_bug.cgi?id=684049
src/ostree/grub2/15_ostree
patch
|
blob
|
history
diff --git
a/src/ostree/grub2/15_ostree
b/src/ostree/grub2/15_ostree
index 6f9d51bb27e052c33162738dedb772a260d89952..14394d61bf6a0a4f10db6ff17941244e74d6c8b2 100755
(executable)
--- a/
src/ostree/grub2/15_ostree
+++ b/
src/ostree/grub2/15_ostree
@@
-27,7
+27,7
@@
export TEXTDOMAIN=grub
export TEXTDOMAINDIR="${datarootdir}/locale"
CLASS="--class gnu-linux --class gnu --class os --class ostree"
-OS="
GNOME OS (Ostre
e)"
+OS="
$(cat /ostree/current-etc/system-releas
e)"
# loop-AES arranges things so that /dev/loop/X can be our root device, but
# the initrds that Linux uses don't like that.